package com.fire.communication.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fire.communication.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("business_duty_person")//值班人员表
public class BusinessDutyPerson extends BasisEntity {

    private String id;//主键id
    private String accountname;//关联的用户名
    private String name;//姓名
    private String post;//职务
    private String tel;//办公电话
    private String phone;//手机号码
    private String img;//图片路径
    private String businessId;//单位id
    private Date createtime;//创建时间

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getAccountname() {
        return this.getString("accountname");
    }

    public void setAccountname(String accountname) {
        this.put("accountname",accountname);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getPost() {
        return this.getString("post");
    }

    public void setPost(String post) {
        this.put("post",post);
    }

    public String getTel() {
        return this.getString("tel");
    }

    public void setTel(String tel) {
        this.put("tel",tel);
    }

    public String getPhone() {
        return this.getString("phone");
    }

    public void setPhone(String phone) {
        this.put("phone",phone);
    }

    public String getImg() {
        return this.getString("img");
    }

    public void setImg(String img) {
        this.put("img",img);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }
}
